Returns the maximum time set to find a window or control in the application. The maximum time is set in the QA Wizard Pro playback options or by a SetControlSearchTimeout statement. If the time limit is reached, playback stops and an error is displayed in the Errors pane and run report.
Syntax
GetControlSearchTimeout()
Return value
| Value | Description |
|---|---|
| Value | Number of milliseconds set to wait before the search times out. |
Example
timeout = GetControlSearchTimeout()
PrintLn("Time out if control not found in " + timeout + " milliseconds")